package com.isdepci.project.carbon.mapper;

import java.util.List;
import com.isdepci.project.carbon.domain.GreenCertificatesListPurchaser;
import org.apache.ibatis.annotations.Param;
/**
 * 绿证-求购动态Mapper接口
 *
 * @author isdepci
 * @date 2025-05-28
 */
public interface GreenCertificatesListPurchaserMapper
{
    /**
     * 查询绿证-求购动态
     */
     GreenCertificatesListPurchaser selectGreenCertificatesListPurchaserById(Long id);

    /**
     * 查询绿证-求购动态列表
     */
     List<GreenCertificatesListPurchaser> selectGreenCertificatesListPurchaserList(GreenCertificatesListPurchaser greenCertificatesListPurchaser);

    /**
     * 新增绿证-求购动态
     */
     int insertGreenCertificatesListPurchaser(GreenCertificatesListPurchaser greenCertificatesListPurchaser);

    /**
     * 修改绿证-求购动态
     */
     int updateGreenCertificatesListPurchaser(GreenCertificatesListPurchaser greenCertificatesListPurchaser);

    /**
     * 删除绿证-求购动态
     */
     int deleteGreenCertificatesListPurchaserById(Long id);


     int deleteALLPurchaser();

    /**
     * 批量删除绿证-求购动态
     */
     int deleteGreenCertificatesListPurchaserByIds(Long[] ids);


    void insertList(@Param("list") List<GreenCertificatesListPurchaser> list,@Param("pId")Long pId);



}
